home *** CD-ROM | disk | FTP | other *** search
- FC
- Compare files and report differences (ascii or binary)
- See also <COMP> <DISKCOMP>
-
- COMMAND TYPE: External VERSION: 4.0 and up
-
- FC compares two files, or sets of files, and reports the differences
- between them. It is more powerful than <COMP> and may be used with
- binary or ascii (text) files.
-
- USE:
- (ascii) FC [/a][/c][/L][/Lb n][/n][/t][/w][/nnnn][d:]path1 [d:]path2
- (bin) FC [/b][/nnnn] [d:]path1 [d:]path2
-
- d: is an optional drive specified for either path1 or path2. Path1 and
- path2 are the path and filenames of the files to compare
- /a abbreviate output of ascii comparison - output only lines that begin
- and end each set of differences.
- /b binary compare - byte for byte comparison with no attempt to
- resychronise after a mismatch. This is the default for .exe, .com,
- .lib, .obj, .sys, or .bin type files.
- /c ignore case in comparing ascii text
- /L compare in ascii mode. This is default except as noted above.
- /Lb n sets the internal bufffer to n lines (default is 100). Files which
- have more than this number of consecutive mismatched lines will abort
- the comparison.
- /n display line numbers (ascii only)
- /t do not expand tabs to spaces. Default is to treat tabs as spaces to 8
- column positions
- /w compress whitespace (multiple tabs or spaces) into a single space
- before comparing
- /nnn specified the number of lines that must match after a difference
- before FC considers the files resynchronised (default is 2).
-